﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using DataServer.DAO;

namespace DataServer.Models
{
    public class TableCTL
    {
        private DataProvider _data = new DataProvider();

        public List<string> getAllTableNames()
        {
            return _data.getTableNames();
        }

        public List<string> getAllColumnNames(string tableName)
        {
            return _data.getColumnsName(tableName);
        }
    }
}